package com.hospital.demo.enums;

public enum UserType {

    /**
     * 医保人员
     */
    INSURANCE_PEOPLE(0,"insurance_people"),

    /**
     * 工作人员
     */
    WORKER(1,"worker"),

    /**
     * 临时工作人员
     */
    TEMPORARY_WORKER(2,"temporary_worker"),

    /**
     * 临时工作人员
     */
    ADMINISTRATORS(3,"administrators"),
    ;

    private Integer code;

    private String userType;

    public Integer getCode() {
        return code;
    }

    public String getUserType() {
        return userType;
    }

    UserType(Integer code, String userType) {
        this.code = code;
        this.userType = userType;
    }
}
